eb6725
@@ -358,33 +358,23 @@
public class RabbitAdmin implements AmqpAdmin, ApplicationContextAware, Initiali
 		final Collection<Binding> bindings = filterDeclarables(applicationContext.getBeansOfType(Binding.class).values());
 
 		for (Exchange exchange : exchanges) {
-			if (!exchange.isDurable()) {
-				logger.warn("Auto-declaring a non-durable Exchange ("
+			if (!exchange.isDurable() || exchange.isAutoDelete()) {
+				logger.info("Auto-declaring a non-durable or auto-delete Exchange ("
 						+ exchange.getName()
-						+ "). It will be deleted by the broker if it shuts down, and can be redeclared by closing and reopening the connection.");
-			}
-			if (exchange.isAutoDelete()) {
-				logger.warn("Auto-declaring an auto-delete Exchange ("
-						+ exchange.getName()
-						+ "). It will be deleted by the broker if not in use (if all bindings are deleted), but will only be redeclared if the connection is closed and reopened.");
+						+ ") durable:" + exchange.isDurable() + ", auto-delete:" + exchange.isAutoDelete() + ". "
+						+ "It will be deleted by the broker if it shuts down, and can be redeclared by closing and "
+						+ "reopening the connection.");
 			}
 		}
 
 		for (Queue queue : queues) {
-			if (!queue.isDurable()) {
-				logger.warn("Auto-declaring a non-durable Queue ("
-						+ queue.getName()
-						+ "). It will be redeclared if the broker stops and is restarted while the connection factory is alive, but all messages will be lost.");
-			}
-			if (queue.isAutoDelete()) {
-				logger.warn("Auto-declaring an auto-delete Queue ("
-						+ queue.getName()
-						+ "). It will be deleted by the broker if not in use, and all messages will be lost.  Redeclared when the connection is closed and reopened.");
-			}
-			if (queue.isExclusive()) {
-				logger.warn("Auto-declaring an exclusive Queue ("
+			if (!queue.isDurable() || queue.isAutoDelete() || queue.isExclusive()) {
+				logger.info("Auto-declaring a non-durable, auto-delete, or exclusive Queue ("
 						+ queue.getName()
-						+ "). It cannot be accessed by consumers on another connection, and will be redeclared if the connection is reopened.");
+						+ ") durable:" + queue.isDurable() + ", auto-delete:" + queue.isAutoDelete() + ", exclusive:"
+						+ queue.isExclusive() + ". "
+						+ "It will be redeclared if the broker stops and is restarted while the connection factory is "
+						+ "alive, but all messages will be lost.");
 			}
 		}
 
